Compositional Symmetric Sharing in B

نویسندگان

  • Martin Büchi
  • Ralph-Johan Back
چکیده

Sharing between B constructs is limited, both on the specification and the implementation level. The limitations stem from the single writer/multiple readers paradigm, restricted visibility of shared variables, and structural constraints to prevent interference. As a consequence, applications with inherent sharing requirements have to either be described as large monolithic constructs or be underspecified, leading to a loss of modularity respectively certain desirable properties being unprovable. We propose a new compositional symmetric shared access mechanism based on roles describing rely/guarantee conditions. The mechanism provides for multiple writers on shared constructs, visibility of shared variables in the accessors’ invariants, and controlled aliasing. Use is uniform in machines, refinements, and implementations. Sharing is compositional: all proof obligations are local and do not require knowledge of the other accessors’ specifications, let alone their or the shared construct’s implementation. Soundness of the mechanism is established by flattening.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Simultaneous power sharing and protection against faults for DGs in microgrid with different loads

The LVRT (Low Voltage Ride Through) is the main characteristic of every power system in faulty conditions. When fault occurs, it is essential for power system such as microgrid to control the voltage and frequency normally. Naturally in fault status, the unbalanced voltage and current are inevitable, but with the aid of LVRT technique, microgrid can keep stability in main system parameters such...

متن کامل

An efficient symmetric polynomial-based key establishment protocol for wireless sensor networks

An essential requirement for providing secure services in wireless sensor networks is the ability to establish pairwise keys among sensors. Due to resource constraints on the sensors, the key establishment scheme should not create significant overhead. To date, several key establishment schemes have been proposed. Some of these have appropriate connectivity and resistance against key exposure, ...

متن کامل

Experimental Study of Discharge Coefficient of Symmetric and Asymmetric Rectangular Labyrinth Weirs

The discharge coefficient of labyrinth weirs increases with increasing the crest length in a certain width range. The present research was carried out in a laboratory flume with a length of 8 m, a width of 0.6 m, and a height of 0.6 m. The discharge coefficient of two-cycle symmetric and asymmetric rectangular labyrinth weirs was experimentally measured. The dimensional analysis by the Buckingh...

متن کامل

A Repetitive Control- based Approach for Power Sharing among Boost Converters in DC Microgrids

In this paper a repetitive control (RC) approach to improve current sharing between parallel-connected boost converters in DC microgrids is presented. The impact of changes in line impedance on current sharing is investigated. A repetitive controller is designed and connected in series with current controller of the boost converters to control the switching signals such that by regulating of th...

متن کامل

A Web-Based Compositional Modeling System for Sharing of Physical Knowledge

This paper describes a compositional modeling system called CDME (Collaborative Device Modeling Environment) for constructing domain theories of physical systems, composing models of devices, and simulating their behavior. We have implemented the system with the goal of encouraging sharing as well as the collaborative construction of knowledge bases describing physical domains. To maximize the ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999